package com.scau.service;

import com.scau.entity.Teacher;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface TeacherService {
    void add(Teacher teacher);

    Teacher findOne(Long teacherId);

    Page<Teacher> findAll(Teacher teacher, Pageable pageable);

    Teacher update(Teacher teacher);

    void delete(Long teacherId);
}
